I am trying to set up a ubuntu sever 12.04 on my machine [migrated]

Posted by Jseb on Server Fault See other posts from Server Fault or by Jseb
Published on 2012-09-02T23:51:16Z Indexed on 2012/09/03 3:39 UTC
Read the original article Hit count: 465

Filed under:
|
|
|

I am trying to set up a server on my home network which will eventually host rails. I am not great in linux server and i try to follow the prompt. I did succesfully get to a black screen which then prompts me to a username then password to then do anything ( assuming). However here what i try to do

I kinda fellow his tutorial http://www.ubuntugeek.com/step-by-step-ubuntu-11-04-natty-lamp-server-setup.html but however the command where not 100% like him not in same order but same idea.

Then i want to install ubuntu server with gui here the command i try with

sudo apt-get upgrade
sudo apt-get install ubuntu-desktop

Which however give me the following error

Err http... inRelease
w Failed to fetch ht... So been ignored

if i try the desktop one i get
E: unable to locate package ubuntu
E: unable to locate package desktop

So i am assuming i am not connected to the internet, so i try the following command sudo vi /etc/network/interfaces

here the output it gives me and i know my gateway on my laptop is 192.168.1.1

address: 192.168.1.148
netmask: 255.255.255.0
network: 192.168.1.0
broadcasts: 192.168.1.255
gateway: 192.168.1.1

Btw i do not know the command to get out of vi and saving it.

Err http://us.archive.ubuntu.com precises InRelease
Err http://us.archive.ubuntu.com precises-updates InRelease
Err http://us.archive.ubuntu.com precises-backports InRelease
Reading package lists... Done
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/precise-backport/InRelease

© Server Fault or respective owner

Related posts about linux

Related posts about networking